/*
 * Copyright (c) 2022, tyustli
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-02-08     tyustli      first implementation
 */

#include <stdio.h>

/**
 * This function will char to ascii
 *
 * @param value need transform value
 *
 */

static void char_2_ascii(char value)
{
    printf("%c 的 ascii 值为 %d\r\n", value, value);
}

int main(int argc, char **argv)
{
    char value = 'A';

    char_2_ascii(value);

    return 0;
}

/******************** end of file **********************/
